FWLaunch.execJsInFireworks()

Availability Dreamweaver 3.0, Fireworks 3.0
Description Passes the specified string of JavaScript to Fireworks for execution.
Arguments javascriptOrFileURL
The argument is either a string of literal JavaScript or the path to a .js or .jsf file, expressed as a file:// URL.
Returns A cookie object if the JavaScript was passed successfully, or a nonzero error code indicating that one of the following errors has occurred:
1: Invalid usage; javascriptOrFileURL was specified as NULL or empty string, or the path to the .js or .jsf file was invalid.
2: File I/O error; Fireworks is unable to create a response file because the disk is full.
3: Error notifying Dreamweaver; the user is not running a valid version of Dreamweaver (3.0 or later).
4: Error launching Fireworks process; the function did not launch a valid version of Fireworks (3.0 or later).
5: User canceled the operation.